#!/usr/bin/env python
# -*- coding: utf-8 -*-

DB_Host = "127.0.0.1"
DB_Port = 3306
DB_User = "test"
DB_Passwd = "test"
DB_DataBase = "jd-commodity"
DB_Charset = "utf8mb4"


# 起始分类的首页
# 本处以手机分类为起始演示
url = "https://list.jd.com/listNew.php?cat=9987%2C653%2C655" 

# 这里要导入 登录JD页面后的Cookie的值，不然很快就会被风控
cookie = "__jdc=122270672; __jdv=122270672|direct|-|none|-|1664928651774; shshshfp=2d7e9f5bb908809d51995c1f25f97467; shshshfpa=eba6c417-a717-bc84-6e35-34e4eec1d0a4-1664928652; shshshfpb=dDPKnVBnynddqglQHXO-9ag; areaId=12; ip_cityCode=978; ipLoc-djd=12-978-980-36485; __jda=122270672.166492865177337109076.1664928652.1664937191.1664939714.4; jsavif=1; jsavif=1; thor=FEA0C059A60EA9C2B757F5D676C9CDA63605F2F81D8341A34F45D6DE96D0D7EB9DA475139BCF02DE3FC7C8B2F3FBE2E6861D753BD249BFC6A42E88E5FE934A215E140B59965C5AA60151FE9A27F8AE893FC3608F75D1C69661784906C189B45118A929DE8E58EFA81845956AADB9F369878EA7266128916D02B7E35F2ECAFA1C3809E3CF7B7BE71E1998AD38207E6EB538346B43B742151BC51EE8F7C822BCA5; pinId=VQsVxXp3dSboPFlq4ACM_LV9-x-f3wj7; pin=jd_43724bc80c8c6; unick=jd_189611ktmf; ceshi3.com=000; _tp=vojx1UwVRCHK7KCtI9L7I0fuSKikO9nOCiibCL0%2Fm4k%3D; _pst=jd_43724bc80c8c6; wlfstk_smdl=xtunbuq3ps7724kyeny6bcvg8lr5f39c; avif=1; __jdb=122270672.14.166492865177337109076|4.1664939714; shshshsID=dbd94bfcecf520f9364b088697dca636_4_1664940077133"

# 如果有不清楚的地方，联系QQ:403453619